package com.cheetah.service.impl;

import com.cheetah.service.TokenService;
import com.cheetah.utils.TokenUtil;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @Author Administrator
 * @Date 2019/9/13
 * @Version V1.0
 * @Description:
 **/
@Component
public class TokenServiceImpl implements TokenService {

    @Override
    public String getToken(Map<String, Object> claims){
        return TokenUtil.getToken(claims);
    }
}
